<form action="{$base_url}&action=image_save" method="post" enctype="multipart/form-data">
	<input type="hidden" value="{$image->Gallery->id}" name="image[gallery_id]" />
	<input type="hidden" value="{$image->id}" name="image[id]" />
	<td class="center">
		<input type="reset" class="cancel" rel="{$image->id}" value=" " />
	</td>
	<td>
		<input type="file" name="file" />
	</td>
	<td>
		<input type="text" name="image[title]" value="{$image->title}" />
	</td>
	<td>
		<textarea name="image[description]" cols="30" rows="10">{$image->description}</textarea>
	</td>
	<td>
		<select name="image[owner]">
			<option value="0">- Выбрать -</option>
			{foreach $users as $user}
				<option{if $user->id == $image->owner} selected="selected"{/if} value="{$user->id}">{$user->login}</option>
			{/foreach}
		</select>
	</td>
	<td class="center">
		<input{if $image->ava == 1} checked="checked"{/if} type="checkbox" name="image[ava]" value="1"/>
	</td>
	<td>
		
	</td>
	<td class="center">
		<input type="submit" value=" " class="save" />
	</td>
</form>